import matplotlib.pyplot as plt

def drawPic(dots,point,colour):
    # 绘制各个点及点所代表地点名称
    for i in range(len(point)):
        plt.text(point[i][1], point[i][2], '送货点'+str(point[i][0]), color='#0085c3', fontproperties="simhei")
        plt.plot(point[i][1], point[i][2], 'o', color='#0085c3')

    # 连接各个点
    for i in range(len(dots) - 1):
        start = (dots[i][0], dots[i + 1][0])
        end = (dots[i][1], dots[i + 1][1])
        # plt.plot(start, end, color=colour)
        plt.arrow(dots[i][0], dots[i][1], (dots[i + 1][0] - dots[i][0]), (dots[i + 1][1] - dots[i][1]),
                 length_includes_head=True, head_width=0.25, head_length=1, color=colour)